@import "modules/reset.scss";
@import "modules/headerRepeat.scss";
@import "modules/navRepeat.scss";
@import "modules/indexSwiper.scss";
@import "modules/footerRepeat.scss";
body{
    background-color: #e9e9e9;
    .navBox{
        position: sticky;
        top: 0;
        z-index: 11;
    }
}

.container{
    width: 1220px;
    margin: 0 auto;
    padding-top: 26px;
    position: relative;
    // 首页通用展示卡片
    .card-box{
        width: 100%;
        box-sizing: border-box;
        border: 1px solid #d3d3d3;
        border-radius: 7px;
        background-color: #fff;
        overflow: hidden;
        margin-bottom: 25px;
        position: relative;
        .card-box-header{
            height: 62px;
            box-sizing: border-box;
            background-color: #f9f9f9;
            border-bottom: 1px solid #dadada;
            .card-header-title{
                float: left;
                h3{
                    font-size: 17px;
                    height: 62px;
                    line-height: 62px;
                    color: #535353;
                    font-weight: bold;
                    margin-left: 26px;
                }
            }
            .card-header-more{
                float: right;
            }
        }
        .card-box-content{
            display: flex;
            flex-wrap: wrap;
            background-color: #fff;
            .card-content-firstList{

                float: left;
                width: 50%;
                height: 430px;
                box-sizing: border-box;
                border-right: 1px solid #ebebeb;
                border-bottom: 1px solid #ebebeb;
                position: relative;
                cursor: pointer;
                img{
                    display: block;
                    width: 100%;
                    height: 100%;
                }
                a{
                    display: block;
                    position: absolute;
                    left: 0;
                    top: 0;
                    width: 100%;
                    height: 100%;
                }
            }
            .card-content-list{
                float: left;
                width: 25%;
                height: 430px;
                box-sizing: border-box;
                border-right: 1px solid #ebebeb;
                border-bottom: 1px solid #ebebeb;
                position: relative;
                .card-list-imgBox{
                    width: 216px;
                    height: 216px;
                    margin: 0 auto;
                    padding-top: 45px;
                    padding-bottom: 20px;
                    img{
                        // display: block;
                        width: 100%;
                        height: 100%;
                    }
                }
                .card-list-msgBox{
                    height: 102px;
                    h4{
                        font-size: 14px;
                        line-height: 14px;
                        height: 14px;
                        color: #262626;
                        font-weight: bold;
                        text-align: center;
                        white-space: nowrap;
                        overflow: hidden;
                        text-overflow: ellipsis;
                        padding: 0 15px;
                    }
                    h5{
                        margin-top: 18px;
                        font-size: 12px;
                        line-height: 12px;
                        height: 12px;
                        color: #878787;
                        text-align: center;
                        white-space: nowrap;
                        overflow: hidden;
                        text-overflow: ellipsis;
                        padding: 0 15px;
                    }
                }
                .card-list-priceBox{
                    span{
                        display: block;
                        height: 16px;
                        font-size: 16px;
                        line-height: 16px;
                        text-align: center;
                        color: #000;
                        font-weight: bold;
                    }
                }
                .card-list-cover{
                    display: block;
                    position: absolute;
                    width: 100%;
                    height: 100%;
                    top: 0;
                    left: 0;
                    &:hover{
                        box-shadow: 0 0 50px 1px #ccc inset;
                    }
                }
            }
        }
    }
    .bannerBox{
        height: 499px;
        cursor: pointer;
    }
    .activities{
        height: 200px;
        .card-box-content{
            display: block;
            .card-content-list{
                float: left;
                border: none;
                height: 100%;
                .card-list-imgBox{
                    width: 100%;
                    height: 100%;
                    margin: 0;
                    padding: 0;
                }
            }
        }
    }
    .hottest{
        .card-box-header{
            .card-header-more{
                margin-top: 19px;
                margin-right: 14px;
                width: 72px;
                height: 24px;
                i{
                    display: block;
                    width: 24px;
                    height: 24px;
                    box-sizing: border-box;
                    border-radius: 50%;
                    background-color: #fafafa;
                    border: 1px solid #efefef;
                    color: #ccc;
                    text-align: center;
                    font-weight: bold;
                }
                .left{
                    float: left;
                }
                .right{
                    float: right;
                }
                .active{
                    cursor: pointer;
                    background-color: #fbfbfb;
                    border-color: #d9d9d9;
                    color: #6c6c6c;
                }
            }
        }
        .card-box-content{
            position: relative;
            top: 0;
            left: 0px;
            height: 430px;
            flex-wrap: nowrap;
            .card-content-list{
                flex-shrink: 0;
            }
        }
    }
    .forum{
        .card-box-content{
            overflow: hidden;
            flex-wrap: nowrap;
            .card-content-list{
                flex-shrink: 0;
                height: 338px;
                padding: 30px 30px 0;
                .imgBox{
                    // width: 244px;
                    width: 100%;
                    height: 154px;
                    border-radius: 4px;
                    margin: 0 auto;
                    overflow: hidden;
                    img{
                        display: block;
                        width: 100%;
                        height: 100%;
                    }
                }
                h4{
                    margin-top: 30px;
                    font-size: 15px;
                    height: 15px;
                    line-height: 15px;
                    font-weight: bold;
                    color: #262626;
                    // padding: 0 30px;
                    white-space: nowrap;
                    overflow: hidden;
                    text-overflow: ellipsis;
                }
                p{
                    margin-top: 12px;
                    font-size: 12px;
                    line-height: 18px;
                    height: 49px;
                    color: #8d8d8d;
                    // padding: 0 30px;
                }
                a{
                    display: block;
                    font-size: 12px;
                    line-height: 12px;
                    height: 12px;
                    color: 4061cf;
                }
            }
        }
    }
}


// 项目说明按钮
#projectBtn{
    width: 80px;
    height: 30px;
    position: fixed;
    left: 10px;
    top: calc(50% - 50px);
    background-color: #fff;
    border-radius: 7px;
    border: 1px solid #777;
    cursor: pointer;
    font-size: 14px;
    line-height: 30px;
    text-align: center;
    color: #222;
    font-weight: bold;
    &:hover{
        background-color: orange;
        color: #fff;
    }
}
#projectMsg{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 20;
    background-color: rgba(0, 0, 0, 0.4);
    display: none;
    z-index: 25;
    .msg{
        width: 500px;
        height: 300px;
        background-color: #fff;
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        margin: auto auto;
        border: 2px solid #000;
        border-radius: 10px;
        padding: 30px;
        h6{
            text-align: center;
            font-size: 30px;
            line-height: 30px;
            height: 30px;
            font-weight: bold;
        }
        p{
            font-size: 16px;
            line-height: 16px;
            height: 16px;
            color: #000;
            margin-top: 30px;
            i{
                color: #f00;
            }
            a{
                color: #f00;
                text-decoration: underline;
            }
        }
        .btnBox{
            display: flex;
            justify-content: space-around;
            margin-top: 120px;
        }
        .btn{
            // position: absolute;
            padding: 10px;
            background-color: #fff;
            border: 1px solid #000;
            border-radius: 5px;
            font-weight: bold;
            font-size: 16px;
            cursor: pointer;
            &:nth-of-type(1){
                // bottom: 30px;
                // left: 100px;
                background-color: #dfebfe;
                border: 1px solid #81a1f5;
                color: #2c4dc0;
                &:hover{
                    background-color: #2c4dc0;
                    color: #fff;
                }
            }
            &:nth-of-type(2){
                // bottom: 30px;
                // left: 200px;
                background-color: #f5fad9;
                border: 1px solid #a7c368;
                color: #79a12b;
                &:hover{
                    background-color: #79a12b;
                    color: #fff;
                }
            }
            &:nth-of-type(3){
                // bottom: 30px;
                // right: 100px;
                background-color: #f5fad9;
                border: 1px solid #a7c368;
                color: #79a12b;
                &:hover{
                    background-color: #79a12b;
                    color: #fff;
                }
            }
        }
    }
}